package org.dtrd.modules.content.articles.entity.po;

import javax.persistence.*;

@Table(name = "dtrd_ext_ems_xt_role")
public class DtrdExtEmsXtRole {
    /**
     * id
     */
    @Id
    private Integer id;

    /**
     * 角色名称
     */
    @Column(name = "role_name")
    private String roleName;

    @Column(name = "is_del")
    private Integer isDel;

    /**
     * 权限节点数据
     */
    private String rule;

    /**
     * 获取id
     *
     * @return id - id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取角色名称
     *
     * @return role_name - 角色名称
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * 设置角色名称
     *
     * @param roleName 角色名称
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    /**
     * @return is_del
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * @param isDel
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 获取权限节点数据
     *
     * @return rule - 权限节点数据
     */
    public String getRule() {
        return rule;
    }

    /**
     * 设置权限节点数据
     *
     * @param rule 权限节点数据
     */
    public void setRule(String rule) {
        this.rule = rule;
    }
}